//
//  FMModel.m
//  leisure
//
//  Created by xalo on 16/4/19.
//  Copyright © 2016年 Mr.wangYongxu. All rights reserved.
//

#import "FMModel.h"
#import "authOrUsrModel.h"

@implementation FMModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"userinfo"] ) {
        [self.userInfoFM setValuesForKeysWithDictionary:value];
    }
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        _userInfoFM = [[authOrUsrModel alloc] init];
    }
    return self;
}

@end


